import datetime
from dataclasses import dataclass

from src.core.models.enums.order import OrderStatus


@dataclass(frozen=True)
class OrderDTO:
    id: int
    status: OrderStatus
    sum: float
    user_db_id: int
    created_at: datetime.datetime
